/* 头部样式 */
header .logo {
    background: url('../images/new-logo-white2.png');
}

.nav-item {
    color: #000;
}

.nav-item.active {
    color: rgb(12, 219, 255);
    border-bottom: 3px solid rgb(12, 219, 255);
}

/* 登录注册 */
.login-register .login {
    color: #000;
}

.login-register .register {
    color: #fff;
}

/* 主体内容 */
.main {
    margin-top: 90px;
}

.APIsort {
    margin: 50px 0 5px;
}

.APIsort h1 {
    padding-left: 8px;
    margin-bottom: 8px;
}

.APIsort a {
    font-size: 14px;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 0 12px;
    color: #666;
    margin: 6px 8px;
    height: 28px;
    line-height: 28px;
}

.APIsort .bold {
    font-weight: bold;
}

main p {
    margin: 10px 0;
}

main p span {
    font-weight: bold;
    font-size: 14px;
    padding-left: 8px;
}

main p input {
    border: none;
    margin-left: 8px;
    border-radius: 10px;
    width: 250px;
    height: 26px;
    padding: 8px 12px;
    background: rgb(244, 244, 244);
    font-size: 14px;
}

main p img {
    position: relative;
    left: -30px;
    top: 4px;
}

/* API展示 */
.api-content {
    margin: 20px 0 55px 0;
}

.api-content li {
    overflow: hidden;
    position: relative;
    float: left;
    width: 230px;
    height: 270px;
    border: 1px solid #eee;
    margin: 10px 10px 0 0;
}

.api-content span {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #00bdff;
    background-color: #e5f8ff;
}

.api-content li a {
    transition: all 0.5s;
    display: block;
    margin-top: 60px;
    text-align: center;
}

.api-content li p {
    font-size: 12px;
}

.api-content li .api-title {
    margin-top: 10px;
    color: #666;
    line-height: 25px;
}

.api-content li a .green {
    color: #29c2a6;
}

.api-content li a .red {
    color: #ff5483;
}

.api-content .data {
    opacity: 0;
    transition: all 0.5s;
    position: absolute;
    bottom: 20px;
    left: 17px;
    transform: translate(0, 60px);
    margin: 0 auto;
    font-size: 12px;
    text-align: center;
    padding: 5px 0;
    background-color: #00bdff;
    width: 85%;
    color: #fff;
}

/* 鼠标移入 */
.api-content li:hover a {
    transform: translate(0, -10px);
}

.api-content li:hover .data {
    cursor: pointer;
    opacity: 1;
    transform: translate(0, 0);
}

.skip {
    padding: 55px 0 60px;
    text-align: center;
}

/* 分页器 */
.skip .on {
    display: inline-block;
    width: 26px;
    height: 26px;
    border-radius: 13px;
    line-height: 26px;
    color: #fff;
    background: rgb(0, 189, 255);
}

.skip a {
    margin: 0 8px;
    color: #000;
}

.skip .xia {
    color: rgb(0, 189, 255);
}

/* 底部样式 */
footer {
    height: 380px;
    background: rgb(248, 248, 248);
    padding: 60px 0 20px;
}

footer dl {
    float: left;
    margin: 0 82px 35px 0;
}

footer dl dt {
    margin-bottom: 34px;
    font-size: 16;
}

footer dl dd {
    height: 28px;
    line-height: 28px;
    font-size: 12px;
    color: #aaa;
}

footer .QR-code {
    text-align: right;
}

footer .contact p {
    margin: 8px 0 24px;
    color: #ccc;
    font-size: 13px;
}

.copy {
    font-size: 14px;
    color: #ccc;
    height: 46px;
    line-height: 46px;
    margin: 0 auto 20px;
}

.copy img {
    position: relative;
    top: 3px;
    margin-right: 4px;
}

/* 登录页面 */
.login-bg {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.login-screen {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -275px;
    width: 400px;
    height: 550px;
    padding: 20px;
    background: #fff;
}

.login-screen li {
    position: relative;
    display: inline-block;
    margin: 30px 0;
}

.login-screen a {
    color: #00bdff;
}

.login-screen li span {
    cursor: pointer;
}

.login-screen li>div {
    position: absolute;
    top: 50px;
    left: -78px;
}

.login-screen li>div div {
    width: 360px;
    height: 30px;
    text-align: left;
    border-bottom: 1px solid #eee;
    margin: 28px 0 20px;
}

.login-screen li div input {
    outline: none;
    position: relative;
    top: -6px;
    padding-left: 10px;
    border: none;
    width: 300px;
}

.urs::before,
.pwd::before {
    content: '';
    position: relative;
    width: 25px;
    height: 25px;
    display: inline-block;
    background: url(../images/loginIcon.png) no-repeat -52px -3px;
}

.pwd::before {
    background-position: -24px -3px;
}

.login-bg {
    display: none;
}

.login-bg.on {
    display: block;
}

.login-screen li:nth-child(2) {
    margin: 0 30px 0;
    width: 2px;
    height: 14px;
    background: #eee;
}

.login-screen button {
    cursor: pointer;
    width: 362px;
    height: 42px;
    color: #fff;
    border: none;
    background: #03c5ff;
    margin: 16px auto;
}

.login-screen li p:nth-child(5) {
    position: relative;
    right: -42px;
    font-size: 14px;
    color: #909090;
}

.login-screen li p:nth-child(5) span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../images/loginIcon.png) no-repeat -52px -27px;
}

.login-screen .conceal {
    display: none;
}

.login-screen li:nth-child(3)>div {
    top: 50px;
    left: -216px;
    height: 260px;
    background: #fcfcfc;
    border: 1px solid #eee;
}

.login-screen li:nth-child(3)>div div {
    text-align: center;
    border: none;
}

.login-screen li:nth-child(3)>div p {
    margin: 10px;
    font-size: 14px;
}

.login-screen li:nth-child(3)>div>p {
    position: relative;
    top: 200px;
    left: -80px;
    font-size: 14px;
}

.login-screen li:nth-child(3)>div>p span {
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(../images/loginIcon.png) no-repeat -52px -27px;
}

.login-screen .on::before {
    content: '';
    display: block;
    position: relative;
    top: 33px;
    left: 6px;
    width: 45px;
    height: 3px;
    background: #00bdff;
}

.login-screen .urs>span,
.pwd>span {
    width: 17px;
    height: 17px;
    line-height: 15px;
    border-radius: 50%;
    background: #eee;
    text-align: center;
    position: relative;
    top: -6px;
    cursor: pointer;
    color: #fff;
    display: none;
}

.login-screen li .active>span {
    display: inline-block;
}

/* 提示框 */
.tips p {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.5);
    color: #000;
    text-align: center;
    line-height: 100px;
    font-size: 14px;
    display: none;
}

.tips .on {
    display: block;
}

.api-content li {
    float: left;
}